package com.f5.management.service;

import com.f5.management.dao.AdminUserDAO;
import com.f5.management.entity.AdminUser;
import com.f5.management.entity.dto.AdminUserAndRoleAndPermissionDto;
import com.f5.management.entity.dto.AdminUserAndRoleDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName AdminUserService
 * @Description Service层接口对象
 * @Author 吴
 * @Date 2021/4/2 15:49
 * @Version 1.0
 **/


public interface AdminUserService {


    //查询得到一个管理员用户
    public AdminUser getAdminUser(String account);

    //根据时间查询用户角色和权限 (模糊查询)
    public List<AdminUser> getAdminUserLists(AdminUserAndRoleDto adminDto);

    //修改用户的状态
    public  void updateAdminUserState(AdminUser adminUser);

    //添加一个用户
    public  String insertUser(AdminUser adminUser,long id,String truthPasswrod);

    //删除一个用户
    public String deleteAdminUser(String account);
}
